<!DOCTYPE HTML>  
<html>
<head>
<meta charset="utf-8">
<title>savenote</title>
</head>

<body>



<cfset paramid    = form.argcurrentid />          

<cfset myArr = ArrayNew(1)>

<cfset myArr = ListToArray( paramid , "~", "true") />

<cfset foldercode    = Trim(myArr[1])>
<cfset collabcode    = Trim(myArr[2])>


	<cfquery name="updateNote" datasource="#client.company_dsn#">
    
       DELETE FROM ECRGCOLLABTHREAD
        WHERE FOLDERCODE  = '#foldercode#'
          AND COLLABCODE  = '#collabcode#';
    
    </cfquery>
    
    <cfquery name="deleteRight" datasource="#client.company_dsn#">
    
       DELETE FROM ECRTCOLLAB
        WHERE COLLABCODE  = '#collabcode#';
    
    </cfquery>
    
    



</body>
</html>
